package com.ruoyi.project.module.remember.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 会员表 movie_remember
 * 
 * @author frey
 * @date 2018-11-13
 */
public class Remember extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 账号 */
	private String account;
	/** 密码 */
	private String password;
	/** token */
	private String token;
	/** 设备名称 */
	private String device;
	/** 账号状态（0: 删除，1：停用，2：启用） */
	private Integer status;
	/** 会员到期时间 */
	private Date vipTime;
	/** 1：会员 */
	private Integer isVip;
	/** 最新登录时间 */
	private Date loginTime;
	/** 创建时间 */
	private Date createTime;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setAccount(String account) 
	{
		this.account = account;
	}

	public String getAccount() 
	{
		return account;
	}
	public void setPassword(String password) 
	{
		this.password = password;
	}

	public String getPassword() 
	{
		return password;
	}
	public void setToken(String token) 
	{
		this.token = token;
	}

	public String getToken() 
	{
		return token;
	}
	public void setDevice(String device) 
	{
		this.device = device;
	}

	public String getDevice() 
	{
		return device;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}
	public void setVipTime(Date vipTime) 
	{
		this.vipTime = vipTime;
	}

	public Date getVipTime() 
	{
		return vipTime;
	}
	public void setIsVip(Integer isVip) 
	{
		this.isVip = isVip;
	}

	public Integer getIsVip() 
	{
		return isVip;
	}
	public void setLoginTime(Date loginTime) 
	{
		this.loginTime = loginTime;
	}

	public Date getLoginTime() 
	{
		return loginTime;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("account", getAccount())
            .append("password", getPassword())
            .append("token", getToken())
            .append("device", getDevice())
            .append("status", getStatus())
            .append("vipTime", getVipTime())
            .append("isVip", getIsVip())
            .append("loginTime", getLoginTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
